<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge" />
		<meta http-equiv="Cache-Control" content="no-siteapp" />
		<meta name="viewport"
			content="width=device-width, maximum-scale=1.0, initial-scale=1.0,initial-scale=1.0,user-scalable=no" />
		<meta name="apple-mobile-web-app-capable" content="yes" />
		<title>${report.name!''}-<#if systemConfig?? && systemConfig.title?? && systemConfig.title != ''>${systemConfig.title}<#else>UCKeFu-全渠道客服系统</#if></title>
		<link rel="shortcut icon" type="image/x-icon" href="<#if systemConfig?? && systemConfig.favlogo?? && systemConfig.favlogo != ''>/res/image.html?id=${systemConfig.favlogo?url}<#else>/images/favicon.ico</#if>?t=${.now?long}"/>
		<link rel="stylesheet" href="/layui/css/layui.css">
		<link rel="stylesheet" href="/res/css/system.html">
		<link rel="stylesheet" href="/css/ukefu-view.css">
		<link rel="stylesheet" href="/js/ztree/zTreeStyle/zTreeStyle.css">
		
		<script src="/js/jquery-1.10.2.min.js"></script>
		<script src="/js/jquery-ui-1.10.2.custom.min.js"></script>
		<script src="/js/jquery.hotkeys.min.js"></script>
		<script src="/js/template.js"></script>
		<script src="/js/jquery.nicescroll.min.js"></script>
		
		<script src="/js/UCKeFu-CircleChart.min.js"></script>
		

		<script src="/js/jquery.form.js"></script>

		<script src="/js/select/js/select2.min.js"></script>
		<script src="/js/ztree/jquery.ztree.all.min.js"></script>

		<script src="/layui/layui.js"></script>
		<script src="/js/lodash-4.17.4.min.js"></script>
		<script src="/js/ukefu-report.js"></script>
		<script src="/js/ukefu-report.chart.js"></script>
		<script src="/js/UKeFu_Util.js"></script>
		<script src="/js/g2.min.js"></script>
		<script src="/js/data-set.min.js"></script>
		<script language="javascript">
			var UKHelper = {
				getLayDateType:function(formatStr){
					let type = "date";
					if(!formatStr){
						return type;
					}
					if(/^.*(s|m|H).$/.test(formatStr)){
						return "datetime";
					}
					if(/^.*d.$/.test(formatStr)){
						return "date";
					}
					if(/^.*M.$/.test(formatStr)){
						return "month";
					}
					if(/^.*y.$/.test(formatStr)){
						return "year";
					}
					return type;
				}
				
			}
		</script>
	</head>

	<body class="layui-layout-content">
		<div class="layui-layout layui-layout-content">
			<div class="layui-side layui-bg-black">
				<div class="layui-side-scroll">
					<#include "/apps/business/view/include/left.html">
				</div>
			</div>
			<div class="layui-body" style="background-color: #f2f2f5">
				<div class="ukefu-monitor-content" id="ukefu-monitor-content">
					<#include "/apps/service/monitor/content.html">
				</div>
			</div>
		</div>
		<script type="text/javascript">
				/* $(document).ready(function(){
					setTimeout(getMsgCount,3000);
					function getMsgCount(){
						loadURL("/apps/monitor/index.html","#ukefu-monitor-top");
						setTimeout(getMsgCount,3000);
					}
				}); */
				
				setInterval(function(){
					loadURL("/apps/monitor/view/desktop.html?<#if status?? && status!=''>status=${status!''}</#if><#if showsensitive?? && showsensitive>&showsensitive=${showsensitive!''}</#if><#if showsensitive?? && showsensitive>&showsensitive=${showsensitive!''}</#if><#if showtimeout?? && showtimeout>&showtimeout=${showtimeout!''}</#if><#if showinquenetimeout?? && showinquenetimeout>&showinquenetimeout=${showinquenetimeout!''}</#if>","#ukefu-monitor-content");
				},5000);
				
		</script>
	</body>
</html>